# Maintainer:
pkgname=himitsu-ssh
_commit=78eaa23e499fa78c3363af1ae46678c2e1e2f249
pkgver=0.2_git20231105
pkgrel=1
pkgdesc="SSH integration for Himitsu"
url="https://himitsustore.org"
arch="x86_64 aarch64" # Hare
license="GPL-3.0-only"
depends="himitsu"
makedepends="hare scdoc hare-ssh himitsu-dev"
subpackages="$pkgname-doc"
# no tests available
options="!check"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/himitsu-ssh/archive/$_commit.tar.gz
"
builddir="$srcdir/$pkgname-$_commit"

build() {
	make -j1 PREFIX=/usr
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
e4fa003be2642fb82cdbb97c54447cc4cf959b0e1e48cfb475b22eb21ebe62b26b417ac57a1e1e0847658d3f9a6e12042137eaf7cc5f956bd146b06c91531ede  himitsu-ssh-0.2_git20231105.tar.gz
"
